import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {IonicModule} from '@ionic/angular';
import {ChartsModule} from 'ng2-charts';

// 组件
import {ToolbarComponent} from './toolbar/toolbar.component';
import {SwitchtabsComponent} from './switchtabs/switchtabs.component';
import {RollingComponent} from './rolling/rolling.component';
import {ChartComponent} from './chart/chart.component';
import {SkeletonComponent} from './rolling/skeleton/skeleton.component';

@NgModule({
    declarations: [
        ToolbarComponent,
        SwitchtabsComponent,
        RollingComponent,
        ChartComponent,
        SkeletonComponent
    ],
    imports: [
        CommonModule,
        IonicModule,
        ChartsModule,
    ],
    exports: [
        ToolbarComponent,
        SwitchtabsComponent,
        RollingComponent,
        ChartComponent
    ]
})
export class ComponentModule {
}
